import 'package:blind_traveler/shared/constants/assets_url.dart';
import 'package:get/get.dart';

import 'tabs/tabs.dart';
import '../../../models/models.dart';

class HomeState {
  var currentTab = MainTabs.messages.obs;

  late MessagesTab messagesTab;
  late MatchingTab matchingTab;
  late MeTab meTab;

  late RxBool onLine;

  late Rx<Me> me;

  HomeState() {
    currentTab;
    messagesTab = const MessagesTab();
    matchingTab = const MatchingTab();
    meTab = MeTab();

    onLine = true.obs;

    me = Me(
        headURL: AssetsURL.headURL,
        userName: '大粒达利',
        age: '21',
        position: '火星',
        signature: '我思故我在',
        tags: [
          '阅读',
          '哔哩哔哩',
          '中二病',
          '超现实主义',
          '吃货',
          '底特律',
          '生化危机',
          '狗',
          '胶片机',
          '电影',
          '哲学',
          '艺术'
        ]).obs;
  }
}
